package org.linlinjava.litemall.db.service;

import org.linlinjava.litemall.db.dao.LitemallFreightMapper;
import org.linlinjava.litemall.db.domain.LitemallFreight;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class LitemallFreightService {
    @Resource
    private LitemallFreightMapper freightMapper;

    public LitemallFreight selectByCode(Integer code) {
        return freightMapper.selectByCode(code);
    }
}
